Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(core): basic spring hawk #3

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

feat(core): basic spring hawk #3

wants to merge 2 commits into from

Conversation

raffeekk
Copy link

No description provided.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why hawk.java package is removed?

Comment on lines +18 to +19
private static int errorCount = 0;
private static int warningCount = 0;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why these increments are needed? I'd suggest to remove all unused code

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

also, please, do not forget to add docs to each class property

*/
@PostConstruct
public void initialize() {
Thread.setDefaultUncaughtExceptionHandler((thread, exception) -> {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we re-use hawk.java here?

/**
* Constructor for PlaygroundApp.
*
* @param hawkCatcher HawkCatcher instance
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

from where app entry point should receive hawk instance?

}

// Report current error status to check if there were issues
hawkCatcher.reportStatus();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

unexpected method. Let's start with simple global exception handling.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants